package org.example.main.entity;

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(name = "Landlord",description = "房东实体")
public class Landlord {

  @Schema(name = "landlordId",description = "房东id")
  private long landlordId;

  @Schema(name = "username",description = "用户名")
  private String username;

  @Schema(name = "password",description = "密码")
  private String password;

  @Schema(name = "phone",description = "手机号")
  private String phone;

  @Schema(name = "email",description = "邮箱地址")
  private String email;


  public long getLandlordId() {
    return landlordId;
  }

  public void setLandlordId(long landlordId) {
    this.landlordId = landlordId;
  }


  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }


  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

}
